<%--
  Created by IntelliJ IDEA.
  User: apple
  Date: 2020/5/4
  Time: 4:01 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="telephone=no" name="format-detection">
    <meta http-equiv="Pragma" content="no-cache">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>酱子-日本料理</title>
    <link type="text/css" rel="stylesheet" href="/static/css/index.css">
</head>
<body>
<div class="huiyuan_box fl">
    <div class="wddd">
        <h1><a href="/myOrder?uid=${user.id}&pageNum=1&pageSize=3&types=99" <c:if test="${param.types==99}"> id="on"</c:if>>全部</a></h1>
        <h1><a href="/myOrder?uid=${user.id}&pageNum=1&pageSize=3&types=0" <c:if test="${param.types==0}"> id="on"</c:if>>待付款</a></h1>
        <h1><a href="/myOrder?uid=${user.id}&pageNum=1&pageSize=3&types=1" <c:if test="${param.types==1}"> id="on"</c:if>>待发货</a></h1>
        <h1><a href="/myOrder?uid=${user.id}&pageNum=1&pageSize=3&types=2" <c:if test="${param.types==2}"> id="on"</c:if>>已发货</a></h1>
        <h1><a href="/myOrder?uid=${user.id}&pageNum=1&pageSize=3&types=4" <c:if test="${param.types==4}"> id="on"</c:if>>已完成</a></h1>
        <div class="clr"></div>
        <div class="fenge"></div>
        <div class="daifu ">
            <c:forEach items="${orders.list}" var="item">
                <div class="df_lists">
                    <div class="df_hao df_list">
                        <p>订单号：<span>${item.orderno}</span>
                            <span class="lan">
                                    <c:if test="${item.statues==1}">[待发货]</c:if>
                                    <c:if test="${item.statues==0}">[待付款]</c:if>
                                     <c:if test="${item.statues==2}">[运输中]</c:if>
                                 <c:if test="${item.statues==3}">[配送中]</c:if>
                                 <c:if test="${item.statues==4}">[已完成]</c:if>
                                    </span></p>
                    </div>
                    <a href="javascript:;" class="df_list">
                        <div class="pic left_f">
                            <img src="/static/picture/20190322133623_r2_c1.jpg" width="100%">
                        </div>
                        <span class="name yichu">${item.gid}</span>
                        <div class="right_f df_text">
                            <p class="price lan da2">￥<span>${item.gid}</span></p>
                            <p class="num">×1</p>
                            <p class="zong">共<span>1</span>${item.count}</p>
                        </div>
                    </a>
                    <h2><a href="#">查看物流</a></h2> <h2><a href="#">删除订单</a></h2> <h2><a href="#">再次购买</a></h2>
                </div>
            </c:forEach>


            <div class="clr"></div>

        </div>
        <div class="zanwu"></div>
    </div>
</div>
<div class="bottom_center_box">
    <ul>
        <li><a href="javascript:;"><img src="/static/picture/sc_index_bottom_r1_c15.jpg"><span>会员</span></a></li>
        <li><a href="javascript:;"><img src="/static/picture/sc_index_bottom_r1_c6.jpg"><span>礼券包</span></a></li>
        <li><a href="javascript:;"><img src="/static/picture/sc_index_bottom_r1_c1.jpg"><span> 购物商城</span></a></li>
        <li><a href="javascript:;"><img src="/static/picture/sc_index_bottom_r1_c16.jpg"><span>积分商城</span></a></li>
    </ul>
</div>
</body></html>
